9782d06d4ce3c23cf8bbc083662d83cb59ef8518,community/ndp/transport-http/src/test/java/org/neo4j/ndp/transport/http/integration/HttpErrorIT.java,HttpErrorIT,shouldStopIgnoringMessagesAfterErrorAck,#,77

Before Change


        String sessionLocation = rs.location();

        // When
        rs = http.POST( sessionLocation, messages(
                run("syntax error" ),
                discardAll(),
                ackF(),
                run( "CREATE (n)" ),
                discardAll()
        ));

        // Then
        assertThat( messages( rs ),  equalsMessages(

After Change


        String sessionLocation = rs.location();

        // When
        rs = http.POST( sessionLocation, createHttpPayload( serialize(
                run("syntax error" ),
                discardAll(),
                ackF(),
                run( "CREATE (n)" ),
                discardAll()
        )));

        // Then
        assertThat( messages( rs.rawContent() ),  equalsMessages(